package cn.lili.modules.promotion.service;

import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.promotion.entity.dos.BoxLotteryTicket;
import cn.lili.modules.promotion.entity.dto.search.BoxSearchParams;
import cn.lili.modules.promotion.entity.vos.BoxLotteryTicketVO;
import cn.lili.modules.promotion.entity.vos.BoxOptionVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.stringtemplate.v4.ST;

/**
* @author asus
* @description 针对表【li_box_lottery_ticket】的数据库操作Service
* @createDate 2023-11-22 17:32:13
*/
public interface BoxLotteryTicketService extends IService<BoxLotteryTicket> {

    ResultMessage<Object> pageBox(BoxSearchParams boxSearchParams);

    ResultMessage<Object> addBoxGoods(BoxLotteryTicketVO boxLotteryTicketVO);

    ResultMessage<Object> updateBoxGoods(BoxLotteryTicketVO boxLotteryTicketVO);

    void cancellation(String lotteryTicketId, String remark);

    void recover(String lotteryTicketId);

    ResultMessage<Object> lottery(String mhId);
}
